package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 库存盘点
 * </p>
 *
 * @author xieyu
 * @since 2024-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_check_stock")
@ApiModel(value="CheckStockEntity对象", description="库存盘点")
public class CheckStockEntity implements Serializable {


    @ApiModelProperty(value = "标识")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("Fuser_id")
    private String userId;

    @ApiModelProperty(value = "本地商品skuId")
    @TableField("Fsku_id")
    private String skuId;

    @ApiModelProperty(value = "类型")
    @TableField("Ftype")
    private Integer type;

    @ApiModelProperty(value = "业务标识")
    @TableField("Fbusiness_no")
    private String businessNo;

    @ApiModelProperty(value = "仓库名")
    @TableField("Fstash_name")
    private String stashName;

    @ApiModelProperty(value = "转移数量")
    @TableField("Famount")
    private Integer amount;

    @ApiModelProperty(value = "原数量")
    @TableField("Fbefore_amount")
    private Integer beforeAmount;

    @ApiModelProperty(value = "结余数量")
    @TableField("Fafter_amount")
    private Integer afterAmount;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreate_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
